﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;

namespace FusionDotNet
{
    internal class RequestState
    {
        private const int BUFFER_SIZE = 1024;
        internal StringBuilder requestData { get; private set; }
        internal byte[] BufferRead { get; private set; }
        internal HttpWebRequest WebRequest { get; private set; }
        internal HttpWebResponse WebResponse { get; set; }
        internal Stream streamResponse { get; private set; }

        internal RequestState(HttpWebRequest request)
        {
            BufferRead = new byte[BUFFER_SIZE];
            requestData = new StringBuilder("");
            WebRequest = request;
            streamResponse = null;
        }
    }

}
